package com.ruihao.cetralizelogin.commons.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 层级资源模型
 * @author sly
 * @time 2019年9月9日
 */
public class ResHierarchy implements Serializable {
    private static final long serialVersionUID = -4618639936217356202L;

    /** ID varchar(50) not null comment '主键ID' */
    private String id;
    /** PARENT_ID varchar(50) comment '父ID' */
    private String parentId;
    /** PARENT_CODE varchar(50) comment '父CODE' */
    private String parentCode;
    /** PARENT_NAME varchar(100) comment '父名称' */
    private String parentName;
    /** PARENT_TYPE char(1) comment '父类型（0：预制系统、1：业务系统、2：目录菜单、3：叶子菜单、4：按钮）' */
    private String parentType;
    /** PARENT_URL varchar(500) comment '父URL' */
    private String parentUrl;
    /** RES_CODE varchar(50) comment '资源CODE' */
    private String resCode;
    /** RES_NAME varchar(100) comment '资源名称' */
    private String resName;
    /** RES_TYPE char(1) comment '资源类型（0：预制系统、1：业务系统、2：目录菜单、3：叶子菜单、4：按钮）' */
    private String resType;
    /** RES_URL varchar(500) comment '资源URL' */
    private String resUrl;
    /** AUTH_FILTER char(1) comment '该资源是否进行统一鉴权（0：是、1：否）' */
    private String authFilter;
    /** SYSTEM_ID varchar(50) comment '系统ID' */
    private String systemId;
    /** MENU_ID varchar(50) comment '菜单ID' */
    private String menuId;
    /** SORT_NUM int(9) comment '排序号' */
    private Integer sortNum;
    /** CREATE_TIMEdatetime NULL创建时间 */
    private Date createTime;
    /** CREATE_USERvarchar(50) NULL创建人 */
    private String createUser;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getParentType() {
        return parentType;
    }

    public void setParentType(String parentType) {
        this.parentType = parentType;
    }

    public String getParentUrl() {
        return parentUrl;
    }

    public void setParentUrl(String parentUrl) {
        this.parentUrl = parentUrl;
    }

    public String getResCode() {
        return resCode;
    }

    public void setResCode(String resCode) {
        this.resCode = resCode;
    }

    public String getResName() {
        return resName;
    }

    public void setResName(String resName) {
        this.resName = resName;
    }

    public String getResType() {
        return resType;
    }

    public void setResType(String resType) {
        this.resType = resType;
    }

    public String getResUrl() {
        return resUrl;
    }

    public void setResUrl(String resUrl) {
        this.resUrl = resUrl;
    }

    public String getAuthFilter() {
        return authFilter;
    }

    public void setAuthFilter(String authFilter) {
        this.authFilter = authFilter;
    }

    public String getSystemId() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
}
